package yf.mall.service;

import yf.mall.entity.PriceEntity;
import com.yf.service.BaseService;
import yf.mall.vo.PriceVo;

import java.util.List;

/**
 * 代理价格Service接口
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Sun Sep 29 17:42:37 CST 2019
 */
public interface PriceService extends BaseService<PriceEntity> {


    /**

     List<PriceVo> queryListVo(PriceVo priceVo);

     PriceVo getVo(Long id);
     **/

    /***********BACK***********/

    //找出某个产品的所有价格
    List<PriceVo> findByGoodsId(Long goodsId);


    /***********API***********/

   PriceEntity  findByUserIdAndGoodsId(Long userId,Long goodsId);


}
